package com.fruit.redis.conf;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * redis配置
 *
 * @author joe
 * @version 2018.01.09 14:24
 */
@Data
@ConfigurationProperties(prefix = "redis")
public class RedisConf {
    private int maxIdle;
    private int maxWait;
    private boolean testOnBorrow;
    private int maxTotal;
    private int minIdle;
    private String host;
    private int port;
    private int timeout = 3000;
    private String password;
}
